﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.T.BasicData.Domain.RBAC
{
    /// <summary>
    /// 用户信息
    /// </summary>
    [Table("Userinfo")]
    public class Userinfo
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long UserId {  get; set; }//用户编号(自增)
        public string  UserName { get; set; }//用户名
        public string  Password { get; set; }//密码
        public bool  status { get; set; } = true;//是否启用
        public int Serialnumber { get; set; }//序号
        public DateTime  CreateTime { get; set; }//创建时间
        public bool IsDeleted { get; set; }=false;//是否删除


    }
}
